package cn.ryh.designpatterndemo.abstractfactorypattern;

/**
 * @ClassName AbstractFactoryOne
 * @Description TODO
 * @Author RaoYH
 * @Date 2019/4/22
 */
public class AbstractFactoryTwo extends AbstractFactory {
    @Override
    public AbstractProductA createAbstractProductA() {
        return new ProductATwo();
    }

    @Override
    public AbstractProductB createAbstractProductB() {
        return new ProductBTwo();
    }
}
